package com.situ.gym.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.situ.gym.pojo.Coach;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.situ.gym.pojo.query.CoachQuery;
import com.situ.gym.pojo.vo.CoachCount;

import java.util.List;


public interface CoachMapper extends BaseMapper<Coach> {

    IPage<Coach> list(IPage<Coach> page, CoachQuery coachQuery);

    void deleteAll(Integer[] ids);

    List<CoachCount> selectCoachCount();
}
